[release-notes] ASP.NET Core in .NET 11 Preview 5#10422
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Hands-on testing with the samples app surfaced two Preview 5 ASP.NET Core features that weren't in the first draft: async form validation (dotnet/aspnetcore #66526) and resource-based validation localization (dotnet/aspnetcore #66646). Both ship together and are foundational for the SSR client validation section, so add dedicated sections covering the EditContext.AddValidationTask / IsValidationPending API and the AddValidationLocalization<T> wire-up. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Found via a milestone cross-check sweep against the draft: PR #65650 was merged into main on 2026-05-14 with labels area-mvc,feature-openapi but no 11.0-preview5 milestone tag, which kept it off the editorial scoring pass's radar even though it changes user-visible MVC + minimal API + OpenAPI behavior. Adds a dedicated section under the OpenAPI cluster. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@davpetr FYI: Generated ASP.NET Core release notes for .NET 11 Preview 5. |
There was a problem hiding this comment.
Pull request overview
This PR adds ASP.NET Core component release notes for .NET 11 Preview 5, fitting into the preview milestone documentation set that rolls up into the umbrella release-notes PR.
Changes:
- Adds feature highlights for Blazor, QuickGrid, Kestrel, and OpenAPI updates.
- Adds bug-fix summaries grouped by ASP.NET Core area.
- Adds community contributor acknowledgements for the milestone.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Daniel Roth <daroth@microsoft.com>
mikekistler
left a comment
There was a problem hiding this comment.
Looks good with my one suggested change. 👍
There was a problem hiding this comment.
I posted the re-worked sections as regular comments to avoid problems with code blocks inside suggestion blocks.
Feel free to make the sections shorter if there is too much detail. However, the original texts were confusing and leaking implementation details.
- Rewrite Blazor validation sections (SSR client-side, async, localization) per @oroztocil's suggestions - Update TOC entries to match new section titles - Rewrite #65650 OpenAPI paragraph per @mikekistler's suggestion (and drop the leaked vscode-file URL) - Remove @cincuranet from community contributors per @Youssef1313 (not a community contributor) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- SSR validation snippet: add @code block with SupplyParameterFromForm Model and HandleValidSubmit so the sample compiles (@ilonatommy) - QuickGrid: document the EnableUrlBasedQuickGridNavigationAndSorting AppContext opt-out and the button-vs-anchor CSS implication (@dariatiurina) - Add new section for RenderFragment serialization (#66754) covering ChildContent across @rendermode boundaries; remove from filtered list (@dariatiurina) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The previously-suggested 'Model { get; set; } = new()' initializer triggers
Blazor analyzer warning BL0008 ('property has [SupplyParameterFromForm] and a
property initializer; this can be overwritten with null during form posts').
Switch to the recommended nullable + OnInitialized ??= new() pattern that ships
in MS Learn's Blazor SSR form docs.
Verified end-to-end against 11.0.100-preview.5.26302.115:
- Build is clean (no BL0008 / no CS8602)
- Valid POST -> HandleValidSubmit runs, form data round-trips
- Invalid POST -> server re-renders with validation errors (no NullRef)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Verified all three updates end-to-end against One finding from testing: the original QuickGrid opt-out switch name confirmed against the shipping DLL: |
ASP.NET Core release notes for .NET 11 Preview 5.
This component PR targets the base milestone branch
release-notes/11.0-preview5(umbrella PR: #10421). Review and edit the markdown here in isolation — when this PR merges into the base branch, the changes roll up into the umbrella PR.Draft generated with the
release-notesskill in this repo. Verify feature selection, code samples, API names, and contributor attributions before marking ready for review.Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com